﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Order.MicroService.Models
{
    /// <summary>
    /// 返回实体
    /// </summary>
    public class Orders
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNum { get; set; }
        /// <summary>
        /// 订单名字
        /// </summary>
        public string OrderName { get; set; }
        public string OrderStatus { get; set; }
        public decimal? TotalAmount { get; set; }
    }
}
